import fetch from '@/utils/fetch'

export function confList(query) {
  return fetch({
    url: '/urldiagram/confList',
    method: 'POST',
    params: query
  })
}

export function modifyConf(page) {
  return fetch({
    url: '/urldiagram/modify',
    method: 'POST',
    params: page
  })
}

export function deleteConf(page) {
  return fetch({
    url: '/urldiagram/delete',
    method: 'get',
    params: page
  })
}

export function deleteBatch(page) {
  return fetch({
    url: '/urldiagram/deleteBatch',
    method: 'get',
    params: page
  })
}

export function queryObject(page) {
  return fetch({
    url: '/urldiagram/queryObject',
    method: 'get',
    params: page
  })
}
